<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------
use think\Route;

Route::rule('index', 'index/index/index');

Route::rule('login', 'partner/login/userlogin');
Route::rule('nextstep', 'partner/login/nextstep');
Route::rule('forgetpassword', 'partner/login/forgetpassword');
Route::rule('logout', 'partner/logout/userlogout');
Route::rule('welcomepage', 'partner/index/welcomepage');
Route::rule('loginlog', 'partner/index/loginlog');
Route::rule('sysnotice', 'partner/index/sysnotice');
Route::rule('memberslist', 'partner/members/memberslist');
Route::rule('invitelist', 'partner/members/invitelist');
Route::rule('tborders', 'partner/orders/tborders');
Route::rule('jdorders', 'partner/orders/jdorders');
Route::rule('pddorders', 'partner/orders/pddorders');
Route::rule('accountbalance', 'partner/earnings/accountbalance');
Route::rule('settledetail', 'partner/earnings/settledetail');
Route::rule('personalinfo', 'partner/systemConfig/personalinfo');
Route::rule('editinfo', 'partner/systemConfig/editinfo');
Route::rule('editpassword', 'partner/systemConfig/editpassword');
Route::rule('changetel', 'partner/systemConfig/changetel');
Route::rule('confirmchange', 'partner/systemConfig/confirmchange');

Route::rule('membersdata', 'partner/bigData/membersdata');

Route::rule('sendsms', 'partner/sendSms/send_sms');



Route::rule('partnerList', 'partner/partner/partnerList');
Route::rule('getSonPartnerOrderInfo', 'partner/partner/getSonPartnerOrderInfo');
Route::rule('getUserInfoByTel', 'partner/partner/getUserInfoByTel');
Route::rule('getPartnerInfoRebate', 'partner/partner/getPartnerInfoRebate');
Route::rule('partnerMaxPercentEdit', 'partner/partner/partnerMaxPercentEdit');
Route::rule('partnerAdd', 'partner/partner/partnerAdd');
Route::rule('getPartnerRebatePercent', 'partner/partner/getPartnerRebatePercent');
Route::rule('partnerEdit', 'partner/partner/partnerEdit');
Route::rule('partnerStatus', 'partner/partner/partnerStatus');
Route::rule('partnerStatusLog', 'partner/partner/partnerStatusLog');




Route::group('sonpartner',function (){

    Route::rule('login', 'sonpartner/login/userlogin');
    Route::rule('nextstep', 'sonpartner/login/nextstep');
    Route::rule('forgetpassword', 'partner/login/forgetpassword');
    Route::rule('logout', 'sonpartner/logout/userlogout');
    Route::rule('welcomepage', 'sonpartner/index/welcomepage');
    Route::rule('loginlog', 'sonpartner/index/loginlog');
    Route::rule('sysnotice', 'sonpartner/index/sysnotice');
    Route::rule('memberslist', 'sonpartner/members/memberslist');
    Route::rule('invitelist', 'sonpartner/members/invitelist');
    Route::rule('tborders', 'sonpartner/orders/tborders');
    Route::rule('jdorders', 'sonpartner/orders/jdorders');
    Route::rule('pddorders', 'sonpartner/orders/pddorders');
    Route::rule('accountbalance', 'sonpartner/earnings/accountbalance');
    Route::rule('settledetail', 'sonpartner/earnings/settledetail');
    Route::rule('personalinfo', 'sonpartner/systemConfig/personalinfo');
    Route::rule('editinfo', 'sonpartner/systemConfig/editinfo');
    Route::rule('editpassword', 'sonpartner/systemConfig/editpassword');
    Route::rule('changetel', 'sonpartner/systemConfig/changetel');
    Route::rule('confirmchange', 'sonpartner/systemConfig/confirmchange');

    Route::rule('membersdata', 'partner/bigData/membersdata');

    Route::rule('sendsms', 'partner/sendSms/send_sms');





});
